#ifndef __buzz_h   
    #define __buzz_h
//HAL--------------------
    #define F_buzz()        P1_2 = ~P1_2
	#define F_setBuzz()	    P1_2 =	1   
	#define F_clrBuzz()	    P1_2 =	0  
//Const--------------------
 //  #define D_buzzLastTime 25  //25*4ms(T0) = last 100ms per Buzz
	//D_buzzConvertAdTime > D_buzzLastTime 
	#define D_buzzConvertAdTime 200 //200*4ms(T0) = reuse Pin convert to Ad mode
																	
    #define D_buzzIntervalTime   250 //250*4ms(T0) = Interval 1s between buzzs
//Var----------------------
    #ifdef __buzz_c
        uint8_t data buzzLastTimer ; 
	
		bit bBuzz ;		
    #else
        extern data uint8_t buzzLastTimer ;

		extern bit bBuzz ;
    #endif

//Function----------------------

void Buzz(D_buzzLastTime );
#endif